package com.kx.center.entity.shop;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kx.center.common.JsonDatetimeSerializer;

/**
 * Created by acmen on 16-1-12.
 */
public class ShopOrder {

    private Integer id;
    private int shopId;
    private Integer companyId;
    private String orderNum;
    private String payNum;
    private String shopName;
    private int appAccountId;
    private String appAccountUserName;
    private int goodsNum;
    private double goodsAmount;
    private Date applyTime;
    private int refundStatus;
    private double refundAmount;
    private int orderStatus;
    private String reason;
    private Date payTime;
    private Date sendTime;
    private Date getTime;
    private int operatorId;
    private Date createTime;
    private Date updateTime;
    private String shopOwnerPhone;
    private Integer addressId;
    
    public Integer getAddressId() {
		return addressId;
	}

	public void setAddressId(Integer addressId) {
		this.addressId = addressId;
	}

	private List<ShopOrderGoods> shopOrderGoods; 

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getPayNum() {
        return payNum;
    }

    public void setPayNum(String payNum) {
        this.payNum = payNum;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getAppAccountId() {
        return appAccountId;
    }

    public void setAppAccountId(int appAccountId) {
        this.appAccountId = appAccountId;
    }

    public String getAppAccountUserName() {
        return appAccountUserName;
    }

    public void setAppAccountUserName(String appAccountUserName) {
        this.appAccountUserName = appAccountUserName;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }

    public double getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(double goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public int getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(int refundStatus) {
        this.refundStatus = refundStatus;
    }

    public double getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(double refundAmount) {
        this.refundAmount = refundAmount;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
	@JsonSerialize(using = JsonDatetimeSerializer.class)
	public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
    @JsonSerialize(using = JsonDatetimeSerializer.class)
    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }
    @JsonSerialize(using = JsonDatetimeSerializer.class)
    public Date getGetTime() {
        return getTime;
    }

    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }

    public int getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(int operatorId) {
        this.operatorId = operatorId;
    }
    @JsonSerialize(using = JsonDatetimeSerializer.class)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @JsonSerialize(using = JsonDatetimeSerializer.class)
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	public String getShopOwnerPhone() {
		return shopOwnerPhone;
	}

	public void setShopOwnerPhone(String shopOwnerPhone) {
		this.shopOwnerPhone = shopOwnerPhone;
	}

	public List<ShopOrderGoods> getShopOrderGoods() {
		return shopOrderGoods;
	}

	public void setShopOrderGoods(List<ShopOrderGoods> shopOrderGoods) {
		this.shopOrderGoods = shopOrderGoods;
	}
    
}
